package chapter1.thread.task.login;

public class Time extends Thread {
    @Override
    public void run() {
        try {
            sleep(40000);
        } catch (InterruptedException e) {
//            e.printStackTrace();
        }
        if (!Judge.state)   
        {
            System.out.println("\n输入时间超过40秒，程序强制退出");
            System.exit(0);
        }

    }
}
